import axios from "axios";
axios.defaults.baseURL = `http://127.0.0.1:8002`;

export const getAllRolesAPI = () => axios.get("/roles/findRoles");
export const changeRolesAuthAPI = (params) => axios.post("/roles/addAuth",params);
